package com.changgou.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品表
 *
 * @author feilx
 * @email 852371260@qq.com
 * @date 2020-08-01 14:05:04
 */
@ApiModel
@Data
@TableName("tb_sku")
public class TbSkuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品id
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "商品id")
	private Long id;
	/**
	 * 商品条码
	 */
	@ApiModelProperty(name = "sn",value = "商品条码")
	private String sn;
	/**
	 * SKU名称
	 */
	@ApiModelProperty(name = "name",value = "SKU名称")
	private String name;
	/**
	 * 价格（分）
	 */
	@ApiModelProperty(name = "price",value = "价格（分）")
	private Integer price;
	/**
	 * 库存数量
	 */
	@ApiModelProperty(name = "num",value = "库存数量")
	private Integer num;
	/**
	 * 库存预警数量
	 */
	@ApiModelProperty(name = "alertNum",value = "库存预警数量")
	private Integer alertNum;
	/**
	 * 商品图片
	 */
	@ApiModelProperty(name = "image",value = "商品图片")
	private String image;
	/**
	 * 商品图片列表
	 */
	@ApiModelProperty(name = "images",value = "商品图片列表")
	private String images;
	/**
	 * 重量（克）
	 */
	@ApiModelProperty(name = "weight",value = "重量（克）")
	private Integer weight;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(name = "createTime",value = "创建时间")
	private Date createTime;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(name = "updateTime",value = "更新时间")
	private Date updateTime;
	/**
	 * SPUID
	 */
	@ApiModelProperty(name = "spuId",value = "SPUID")
	private Long spuId;
	/**
	 * 类目ID
	 */
	@ApiModelProperty(name = "categoryId",value = "类目ID")
	private Integer categoryId;
	/**
	 * 类目名称
	 */
	@ApiModelProperty(name = "categoryName",value = "类目名称")
	private String categoryName;
	/**
	 * 品牌名称
	 */
	@ApiModelProperty(name = "brandName",value = "品牌名称")
	private String brandName;
	/**
	 * 规格
	 */
	@ApiModelProperty(name = "spec",value = "规格")
	private String spec;
	/**
	 * 销量
	 */
	@ApiModelProperty(name = "saleNum",value = "销量")
	private Integer saleNum;
	/**
	 * 评论数
	 */
	@ApiModelProperty(name = "commentNum",value = "评论数")
	private Integer commentNum;
	/**
	 * 商品状态 1-正常，2-下架，3-删除
	 */
	@ApiModelProperty(name = "status",value = "商品状态 1-正常，2-下架，3-删除")
	private String status;

}
